﻿// MIT License
//
// Copyright (c) 2021-present zuohuaijun, Daming Co.,Ltd and Contributors
//
// 电话/微信：18020030720 QQ群1：87333204 QQ群2：252381476

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Net.InformationPlatform.Entity.Mailbox;
[SugarTable("SJADMIN.MAILBOX_CONFIGURE")]
public class MailboxConfigure
{
    /// <summary>
    /// id
    /// </summary>
    [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
     public  int Id { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    [SugarColumn(ColumnName = "FROM_EMAIL")]
    public  string FromEmail { get; set; } = string.Empty;

    /// <summary>
    /// SMTP端口
    /// </summary>
    [SugarColumn(ColumnName = "SMTP_PORT")]
    public  int SmtpPort { get; set; }

    /// <summary>
    /// SMTP服务器地址
    /// </summary>
    [SugarColumn(ColumnName = "SMTP_SERVE")]
    public  string SmtpServe { get; set; } = string.Empty;

    /// <summary>
    /// 授权码
    /// </summary>
    [SugarColumn(ColumnName = "EXCEL_PASSWORD")]
    public string ExcelPassWord { get; set; } = string.Empty;


    /// <summary>
    /// 用户登录账号
    /// </summary>
    [SugarColumn(ColumnName = "USER_NAME")]
    public string UserName { get; set; } = string.Empty;


}
